package cn.csq.design.creatation.factory.simple;

public class MainTest {

    public static void main(String[] args) {

        WuLinSimpleFactory wuLinSimpleFactory = new WuLinSimpleFactory();

        AbstractCar van = wuLinSimpleFactory.newCar("van");

        AbstractCar mini = wuLinSimpleFactory.newCar("mini");

        AbstractCar zz = wuLinSimpleFactory.newCar("zz");

        van.run();

        mini.run();

        //zz.run();


    }
}
